package cn.icanci.loopstack.utils.diff;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author icanci
 * @since 1.0 Created in 2023/01/07 23:47
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Diff {
    /**
     * 是否忽略
     * 
     * @return 不忽略
     */
    boolean ignore() default false;

    /**
     * 字段名称
     * 
     * @return 字段名称
     */
    String fieldName() default "";
}
